check for session before rendering /home