Refactor backend work with json web token and auth
refactor front-end app, include two more modules and structures, promises on the AJAX call