getUserById, getUserByLogin and tests added