Login/Register button works as intended

* button on list works
* full user data sent to db
* login function in index.js works as intended