Improve storage API, clean up code a little up
Remove duplicate of accountRename.usernameInvalid
Refactor code