How to let user login using username and password

I want to work with home assistant and build a mobile application.
I did it and used post man to control the switches to turn on and off and everything work well.
But I don’t want to use generated Token by administrator to use it with turn on and off APIs.
I want every user to get a token and use it with the APIs. Is it possible or not?

WHAT I WANT : I want an API to let users login by username and password then get token to control the entities.