add endpoint to save user and blog.