add getUserById and getUserByLogin with test for it