Fix #3 : deployed @login_required (+ some PEP8)