using isOwner method of Chat entity now
update the new owner after leaving the chat
found error in registrationTask, userId was always 0
added changeOwner Button and adapted Task to this Button