Implementing getuser