adds ability to view surveys and logout