created user model and auth flow for facebook