updated formatting for logged out and will now show favourite and comments buttons on each page