Updating some stuff; worked on session management.