implement get user api