completed basic login and registration