Problem with login feature
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?