Added error messages when required Username and Password fields are missing