Adding FB auth middleware.