some more devise code