added validation for 5 character password