Added anonymous case to the login switch statement.