changes to app and users controller