make get current user return object and unit tests