removed extlib dependency (devise compatibility)