login
hlint fix
chat app as an exportable module for tests
move tests to separate files + infrastructure chat