flag associations working, next step will be to implement into inbox show page etc, beware of loop in controllers when switching to java script and testing other features