added checks to ensure that a user cannot enter empty strings as user information
added length check for passwords