Add login methods

- change api route helper to not jsonify response
Merge branch 'master' into forum_api