Add devise functionality