Removed unused variable
Fixed issue with logged out user on some pages
Removed array-based filters