added validation to staff model