moved some layout content into index and hidden partials from view if a signed in user