Fixed logout link
Added edit button for posts