Changes the callback from facebook authentication
Fixes callback authentication
Adds configurations for database