Finishes #9 - Changes template data to a map / sets context for app ie. user presence or not