initialize quiz manager. added edit post and initializing edit post