Fix error with students login

Suddent errors for no reasons