update views login and register user