Move login code to the login controller.
Merge branch 'release/0.3.0' of github.com:sdelements/lets-chat into release/0.3.0