Better error message for login, prevents login when already logged in.