changed to login.username and added html for registerform.