Added id in the session of the user for the latest checking