R1.9 Login/Sign Up Server-Side Validation

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