update login and front end register