Made DatabaseEngine singleton method
Made login use asynctask