Fixed devise-related issue