refactoring admin and guest views, toggle post likes