Now the login and registration is actually working