Templates gallery and session for template code & location