Edit profile : fixing bug when the user tries to delete his account + fix code style