Added active record assocations to models and validations on the projects model