Minor adjustments on devise basic implementation.