Added Devise, fixed mass activation error