adds user hooks and devise