Config facebook api and set up user model