Added session model using database.