added two factor routes for cockpit