move visit '/projects' call into before hook