added form validation to the user creation form
Added error reporting to the user login form