Implemented registration and logon