FIXED: IF session expires, page was broken. Now it redirects to the sign-in page