created controller directory; imported middleware actions for User and Plan models