Got a successful register/login functionality working.