Midway through devise authentication