Currently, the pages are not restricted to log in and the page shows an error if refreshed after the token has expired. Need to handle this case.