Chat creation
misprint
Wrong return in non-void function