Details page cleanup

Todo: update functions, add approval, add decline, add deactivate