added remove account type function, tested