added oauth 2 authentication
removed usless routes
changed oauth security