Adding a log when login is pressed