check for user when doing retrieve