Fixes wonky user login and creating account