created command LogInUser, passes tests