ensures user login for all pages and adds mozilla linear gradient attr