created microposts controller