fixed id problem within mongoid and removed dangerous routes

Signed-off-by: Mickael <mickael@beingenious.com>