reverting postLogin