removed member_id paramter and replaced with session variable member_id