working devise template with posts scaffold