UI user sent to not found page when the token is expired
When token is expired the user should be sent to the login page, instead is sent to the not found page.
When token is expired the user should be sent to the login page, instead is sent to the not found page.