switched from session to token authentication
activate logging manually
use json instead of form encoding
Merge branch 'feature/token_auth' into develop