successfully made devise work