add public keys support, tests wip
finish user api tests, passing :-)