Moved initializing data to html template and rendering according to session user via jinja