Added create posts controller