video 50: checking for user login