Basic registration and login now works