got the blog backend mostly working