split check access method. fix creating post and comment for tests