View updated for login and register | Model, API and other changes