Sort posts by submitted timestamp
Added edit post form
fix name of variable causing total disintegration!
inconsistent naming between currentPostID and currentPostId

this causes headaches
especially when you've been coding when tired