Added validations to create a new activity