Moved devise to production