created views and functions for popular posts and users