add basic devise function!