add tests empty db and login/logout
add test adding messages