Template fixes galore. Refined the auth handling dectorator and updated the REST API namespacing.