Database updated and facebook login added