added a get user Method and fixed a minor bug