Clean up user_project form display trigger in HomeController by moving a...

...ctions into User and Project models.