fixed duplicating http requests when navigating site and correct logic for conditionals in shared factory