add devices resource route and redirect to root on remove device