Tutorial I prepared re authentication with devise