added paginate and changed view names