fixing post login