fix login_required method bug
prepare deploy to heroku