added client side validations for creating a project and creating a task