Add some validations for users and projects