Added validation to users and posts.  This resolves #39.