added fb login and some settings for database