Implemented user.id for session, returned 404 if information was not found, and eliminated redundancies.