Added has_permission to FlaskUser