basic devise functionality working