Added devise with admin model. Used a workaround for the mongo error see the comment in the Admin model