added resources and users controller