add active_model_serializers gem
add user serializer
remove User#as_json
render the user as json after create