Added new post functionality, commenced edit post functionality