Required Field Validations for Login and Signup

I have added the javascript validations in Index.xhtml. If a user clicks
on Login or Signup without entering a required field he will not be
redirected to the next page. However, I have not coded any display msg
to the user yet. That is yet to be done.