home layout
added post and comment validation