can add course to session
moved template helpers to router data function