refactor server user to own class
change dm-type public key to rsa key and make use of it