add active model serializers
add loans to friend serializer
refactor controller and add loan serializer