set authentication to user use devise.