middleware for facebook authentication added