Posts controller

finished the functionality of create posts for habits. just needs a better template and partial for design.