Add current user as author to posts

Posts were being created without authors. This change applies the current logged in user as the author.