Fixed User model relations. Fixes #1
Added validations to participation, repository