edit posts working. Also stops user when they try to access a post which is not theirs