Doesn't this return the full user object? Don't thank that's great as it reveals much more data than necessary - would prefer that:

```rb
data = {
  auth_token: resource.authentication_token,
  auth_email: resource.email
}
render json: data, status: 201
```