update function "user_can_access_post". if post credits have been set to 0 or have not been set at all the post is accessible