added admin function to devise