beginning of blog details controller