fixed if conditions to view all posts and comments of projects and groups if not logged in #161 #207 #208 #172 #173 #174