moving edit post link
adding authentication