fixes to login and sigh up system