passing the email with the redirect action to devise, fixing bugs with displaying edit and delete actions only to admin users