Slightly improves form validation, adds register link to login form page