added user profile pages and pagination