Created separate page for posting

Moved post creation and edition to another page, and created functions
for post editing.
Modified display of error messages

Created a div for login error messages to be displayed in.