basic setup and validation of microposts