I am creating a rails API using devise_token_auth gem. I want not just the token in header that this gem returns after successful sign_in but also some table associated with user.
How can I send custom JSON after successful sign_in from devise_token auth gem overriding the default JSON response?