some small rest api changes
probably get strong_params idea
refactored a bit