Added LoginController Specs.
Removed duplicated code in chat and added join/part room test.