Fix the session user and the paging of the front end