added test to log_in