backend work, security, user management, leveldb database

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>