public String addBlogDetails() {
        FacesMessage doneMessage = null;
        String outcome = null;

        Blog blog = new Blog();

        blog.setBlogContent(this.blogContent);
        blog.setBlogContentLable(this.blogLabel);
        blog.setCreatedDate(new Date());


        if (blogDelegate.saveBlog(blog) != null) {
            doneMessage = new FacesMessage("Successfully added new user");
            outcome = "success";
        } else {
            doneMessage = new FacesMessage("Failure to added new user");
            outcome = "failure";
        }

        FacesContext.getCurrentInstance().addMessage(null, doneMessage);

        return outcome;
    }