Redirect to index page if the user is authenticated
Add relationship between user and project