refactored API backend and started manage account view