Remove useless API routes

Add middleware of authentification