made login work if you don't have a blog post