Changed Edit Profile to handle changing username including logging