```ruby
class UserProfileSerializer < ActiveModel::Serializer
  attributes :nusnet_id, :name, :email, :gender, :faculty, :first_major, :second_major, :matriculation_year, :access_token
end
```

Include timetables in user profile payload
user
```ruby
class UserProfileSerializer < ActiveModel::Serializer
  attributes :nusnet_id, :name, :email, :gender, :faculty, :first_major, :second_major, :matriculation_year, :access_token
  has_many :timetables, serializer: TimetableSerializer
end
```
assistant