Feature/chatmanager

remove the userDefaults code as we now keep the logged in state in chat manager