finish authentication with devise gem