check if signed in before return id