Ensure auth is performed in the main project route