++ Adding middleware for oauth authentication