distinguish student and librarian when they are login