Added session model and controller