refactoring of userDatabaseService server calls & working basic backend