URL Handling fixes, closes #339
Fix user registration bugs, closes #338
Fix bug deleting sub-user