Devise functionality added