Fixed login_requred decorator