redirect to /login when 401
Added templates table
Added templates service
Added templates.html partial