added register link on login page; finished user registration