improvements in user-management, added local storage