Added further devise functionality