Fixed add post functionality.

-Add post functionality now working. No longer needs to display 'author'
field in order to pass.
-Discovered bug in which post IDs greater than 9 (i.e with 2 digits or
more) would cause the url resolution to fail. Fixed by remembering to
check regexes.