Added some functionality to the editusers page and controllers