changes to vm model
minor changes and pagination added