added user sign-in and password validations