Fixed edit account functionality