How to login with different assigned users ?

Hello @abhishek.hingnikar @prashant ,
I want to create a system which allow to assign user to different app.
When User got a Delegation on Any App and user click on App it will open the popup to Access with different Delegated user Lists.

Login himself
Login Delegated 1
Login Delegated 2
How to implement this functionality in php?
Any suggestion would be appreciate.

Thanks in advance.