check if user is signed in first