Fixed ProfileEdit so that it kind of works