further work completed on the user_app relationship