Devise issue solved