Added manager class and fixed a small typo in UserDBManager