Bug fixes

- Fix some major bugs that causes to server crash.
- Implement passing message as just string instead of object if user locale is not impornant.
userId's is always present now, it's either a string or an array. We don't actually use null anymore.