Added the browse and search functions. Made it so the user can only browse and search and registered can do everything else