David Kimura PRO said almost 9 years ago on Rails API - Authentication with JWT :

It should be user_signed_in?, not user_signed_in.