added views and templates for membership and post models