update register link and login form