sorted formatting if not logged in