fixed errors in login, signin