fix "login/signup to post doesn't work issue"