Completed video 35-36: Used sessions to store data and corrected the errors