Added logging for logins