fix user status view (activate, deactivate user without js)

The view returned a 500er when it was called with a 'normal' request. It worked fine with a ajax-requests, that way we did not noticed it before.