Made Database calls in FA and login async.

Signed-off-by: Harman Sohanpal <harmansohanpal@gmail.com>