Bugfix

Bugfix where a user going offline while a marry request is open caused
an exception
Performance upgrade when using mysql and don't use uuids