Refactor models and views out of messages module.
Add chat router.
Basic login.