Feature/chatmanager

shouldn't this be also done in a transaction, as 2 people with the same nick may want to login at the same time