Changed user deletion to use Ruby instead of JS