Fighting with the log in functionality.