get current user api working