Added additional user validation for username (min/max length) and for password (min length)