update Ability and logout path