created post view and home view