resetting before devise