Added functionalities for "devolver" and "finalizar" urls