If session is expired, redirect to login.