Removed unused middleware and removed socialauth from requirements