Added session class to organize sessions and updated user mapper.