new interfaces for register/logins