added validation for password length at least 8