Improvements login and fb management. Adding fbpageid to db docs