added skeleton code for logging in