Added client-side validation of user input on signin page