Made DatabaseEngine singleton method
Made login use asynctask
Use getInstance instead of new object on heap
Optimizing imports
Major code reformatting
Update username when resuming MainActivity

Earlier when returning from manage user activity the username was not getting
updated even if user changed data there, possibly deleted all user there