made session data available to the templates to fix user_paid bug