ticket:5 added missing login_required, fixed templates