updated users controller, created posts controller