added membership levels and image count restrictions, and added membership status in template