generate views for users