fixed post login error