implemented getUser