added users editing and token creation