add if else statement to pages that if no student or other users, show no user information