Fixed bugs in the chat example
Fixed bugs in company controller (example apps)