Fixed 500 and 403 on edit account