I am making an Training and Placement cell application which would be useful for our institutions but i am having problem with login feature.There are two user in my application admin and student and i have to make login with two different restrictions so how can i make?

closed as off-topic by Mayo, PixelSnader, Mike M, Joel Tebbett, locationunknown May 27 at 5:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about Implementation are off-topic because this site is for User Experience design questions, not questions around how to implement these designs. Therefore, questions around the use of programs like Photoshop or languages such as CSS or JavaScript are off topic." – Mayo, PixelSnader, Mike M, Joel Tebbett
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What is the UX question? It sounds like an implementation question. – Mayo May 23 at 17:56
  • Once the user logs in, you'll know what role they have, right (i.e. you'll know if it's an admin or a student account)? Do you need to know this before they log in? – maxathousand May 24 at 13:17

There should not be two different types of login. Any user should login normally. Once a user logs in, the rights of the users if assigned as an Admin should be displayed preferably with a tag called 'Admin' somewhere near the username on the profile.


It depends on who the primary audience is: The login for the primary audience would take the center stage and be shown on the login page when the application is accessed. You can create Tabbed Login box to facilitate both Student and Admin login and possibly add another functionality to save login information such that if the same user logs in using their device they would see the credentials entry view which pertains to them.

Not the answer you're looking for? Browse other questions tagged or ask your own question.