Add check for sign_out