Fixed post-login error