add handler for individual projects, refactor templates to inherit from base.html