Merge pull request #121 from ahlen/master

added login_required to all endpoints that should have it
changed from close to remove on the sqlalchemy session