Refactor plants api
Refactor api
Get token
Remove json formatters from plants controller