Added doorkeeper routes and protect entries api.