R1.9 Login/Sign Up Validation

Added Server-side validation to the login and sign up forms.