BUG 10412 Error en home/documents, cuando se pierde sesion en PM SOLVED

- Missing validation when session is expired
- Add validation when session is expired